package com.briup.cms.constant;

/**
 * cms项目中用到的常量
 */
public class CmsConstants {

    // 账号正常
    public static final int USER_STATUS_NORMAL = 0;

    // 账号禁用
    public static final int USER_STATUS_FORBIDDEN = 1;

    // 管理员
    public static final int SYSTEM_ROLE_ADMIN = 0;

    // 普通用户
    public static final int SYSTEM_ROLE_USER = 1;


    // 系统配置状态-禁用
    public static final int SYSTEM_CONFIG_STATUS_NO = 0;
    // 系统配置状态-启用
    public static final int SYSTEM_CONFIG_STATUS_YES = 1;

    // 轮播图状态-禁用
    public static final int CAROUSEL_STATUS_NO = 0;
    // 轮播图状态-启用
    public static final int CAROUSEL_STATUS_YES = 1;

    // 资讯状态-待审核
    public static final int ARTICLE_STATUS_UNCHECKED = 0;
    // 资讯状态-不通过
    public static final int ARTICLE_STATUS_NO = 1;
    // 资讯状态-通过
    public static final int ARTICLE_STATUS_YES = 2;
    // 资讯状态-推荐
    public static final int ARTICLE_STATUS_RECOMMEND = 3;

}
